@use "@pythnetwork/component-library/theme";

.themeSwitch {
  overflow: hidden;

  .iconPath {
    position: relative;

    .iconPlaceholder,
    .iconMovement {
      width: 100%;
      height: 100%;
    }

    .iconMovement {
      offset-path: circle(theme.spacing(12) at -#{theme.spacing(12)});
      offset-rotate: auto -90deg;
      offset-anchor: left;
      position: absolute;
      top: 0;
      right: 0;

      .icon {
        width: 100%;
        height: 100%;
      }
    }
  }
}
